package com.baoming.service;

import com.baoming.domain.Member;

/**
 * 会员服务组件
 * @author Administrator
 *
 */
public interface IMemberService {
	String SERVICE = "com.baoming.service.impl.MemberServiceImpl" ; 
	void saveMember(Member member) ; 
	
	/**
	 * 查询用户邮箱是否已经存在
	 * @param email
	 * @return
	 */
	boolean isHas(String email) ;

	/**
	 * 用户登陆查询出全局用户
	 * @param trim
	 * @param trim2
	 * @return
	 */
	Member checkLoginMember(String email , String password);

	/**
	 * 更新用户信息 
	 * @param gmember
	 */
	void updateMember(Member gmember);

	void updateMemberPwd(String newPwd , String id);

	Member selectMember(String memberId);

	void updateMemberMsg(Member modifyMember);

	void updateMemberLoginTime(String lastLoginTime, String string); 
}
